import request from '@/utils/request'

export function getWarehouseQuery(data) {
    return request({
        url: '/warehouse/info/query',
        method: 'post',
        data
    })
}
export function getSettlementWater(data) {
    return request({
        url: '/finance/customer/account/queryflow',
        method: 'post',
        data
    })
}
//应付账款
export function payableaccount(params,data) {
    return request({
        url: '/sales/order/items/generate/bills',
        method: 'post',
        params:params,
        data:data
    })
}
//应收账款
export function recordableaccount(params,data) {
    return request({
        url: '/sales/order/items/generate/bills',
        method: 'post',
        params:params,
        data:data
    })
}
//应收金额汇总。
export function SummaryOfReceivables(data) {
    return request({
        url: '/sales/order/items/generate/bills/by/group',
        method: 'post',
        data
    })
}
//应付金额汇总。
export function copeWithTheSummary(data) {
    return request({
        url: '/sales/order/items/generate/bills/by/group',
        method: 'post',
        data
    })
}